Automatic control system for preparation of spent fuel casks for dry storage